package com.gsp.pojo.nxtpojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "n_commodity")
public class commodity {
	@TableId(type = IdType.AUTO,value = "id")//说明ID是自增的
	private int id;//商品ID
	private int firstcom;//首营品种ID
	private String commonname;//通用名
	private String commonnamenumber;//通用名编码
	private String originplace;//产地
	private String specification;//规格
	private String unit;//单位
	private int inventory;//库存
	private float retailprice;//零售价
	private float purchasing;//最新进价
	private int validity;//有效期限
	private String prescription;//是否处方药(0:是处方药;1:非处方药)
	private String io;//是否内外用
	private String classify;//药品分类
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getFirstcom() {
		return firstcom;
	}
	public void setFirstcom(int firstcom) {
		this.firstcom = firstcom;
	}
	public String getCommonname() {
		return commonname;
	}
	public void setCommonname(String commonname) {
		this.commonname = commonname;
	}
	public String getCommonnamenumber() {
		return commonnamenumber;
	}
	public void setCommonnamenumber(String commonnamenumber) {
		this.commonnamenumber = commonnamenumber;
	}
	public String getOriginplace() {
		return originplace;
	}
	public void setOriginplace(String originplace) {
		this.originplace = originplace;
	}
	public String getSpecification() {
		return specification;
	}
	public void setSpecification(String specification) {
		this.specification = specification;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public int getInventory() {
		return inventory;
	}
	public void setInventory(int inventory) {
		this.inventory = inventory;
	}
	public float getRetailprice() {
		return retailprice;
	}
	public void setRetailprice(float retailprice) {
		this.retailprice = retailprice;
	}
	public float getPurchasing() {
		return purchasing;
	}
	public void setPurchasing(float purchasing) {
		this.purchasing = purchasing;
	}
	public int getValidity() {
		return validity;
	}
	public void setValidity(int validity) {
		this.validity = validity;
	}
	public String getPrescription() {
		return prescription;
	}
	public void setPrescription(String prescription) {
		this.prescription = prescription;
	}
	public String getIo() {
		return io;
	}
	public void setIo(String io) {
		this.io = io;
	}
	public String getClassify() {
		return classify;
	}
	public void setClassify(String classify) {
		this.classify = classify;
	}
	
}
